@use "./variables.scss";

.card-title {
  font-size: $base-font-size-big;
}

.card-container {
  width: 100%;

  .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .card-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .card-content {
    height: 490px;
    min-height: 490px;
    overflow: auto;
  }

  .card-content-full {
    height: calc(
      100vh - #{$base-nav-height} - #{$base-tabs-height} - #{$base-padding} *
        2 - 52px
    );
    overflow: auto;
  }

  .card-title {
    font-size: $base-font-size-big;
  }
}

.custom-tree {
  .el-tree-node {
    .el-tree-node__content {
      height: $base-input-height !important;
      padding-bottom: 0px !important;
      font-size: $base-font-size-big !important;
      line-height: $base-input-height !important;

      .el-tree-node__label {
        font-size: $base-font-size-big !important;
        vertical-align: baseline !important;
      }

      span,
      div {
        display: flex;
        justify-content: flex-start;
        align-items: center;
      }
    }
  }

  .custom-tree-node {
    display: flex !important;
    flex: 1 !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 8px !important;
    font-size: 14px !important;
  }
}

.container {
  height: calc(100vh - #{$base-nav-height} - #{$base-tabs-height});
  padding: $base-padding $base-padding 0 $base-padding;
  overflow-y: auto;
  background-color: $main-bgc !important;

  .container-content {
    margin: 0px auto;
    padding: 2px 2px 0px 2px;
    background-color: #fff !important;
    overflow-x: hidden;
  }
}

.el-card {
  margin-bottom: 0px !important;
}

.el-card__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 40px;
  padding-right: $base-padding !important;
  padding-left: $base-padding !important;
  background-color: $base-border-color-extra-light;
  font-size: 16px;
}

.el-card__footer {
  padding: $base-padding !important;
}

.el-card__body {
  padding: $base-padding !important;
}

.el-tabs__content {
  padding: 5px !important;
}

.mini .el-card__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
}

.run .el-card__header {
  font-size: 20px;
  color: #fff;
  background-color: $base-color-success !important;
}

.gradient .el-card__header {
  font-size: 20px;
  color: #fff;
  background-image: linear-gradient(to right, #60b2fb, #6485f6) !important;
}

.primary .el-card__header {
  font-size: 20px;
  color: #fff;
  background-color: $base-color-primary !important;
}

.stop .el-card__header {
  font-size: 20px;
  color: #fff;
  background-color: $base-color-error !important;
}

.disable .el-card__header {
  font-size: 20px;
  color: #fff;
  background-color: #909399;
}

.query-container {
  width: 100%;
}

.query-container .el-form-item__content > .el-input > .el-input__inner {
  width: 140px !important;
}

.query-container .el-range-input {
  width: 100px !important;
}

.query-container .el-date-editor--daterange,
.query-container .el-date-editor--daterange .el-range-separator {
  width: auto !important;
}

.query-container .el-input-group__append {
  padding-right: $base-padding;
  padding-left: $base-padding;
  vertical-align: top;
}
